package edu.neu.swc.commerce.dao;

import edu.neu.swc.commerce.entity.EcommerceBalance;
import org.springframework.data.jpa.repository.JpaRepository;

public interface EcommerceBalanceDao extends JpaRepository<EcommerceBalance,Long> {

    /**
     * <h1>根据 userId 查询 EcommerceBalance 对象</h1>
     */
    EcommerceBalance findByUserId(Long userId);
}
